package com.bl.order.service;

import com.bl.basic.util.PageList;
import com.bl.order.domain.OrderPetAcquisition;
import com.bl.basic.service.IBaseService;
import com.bl.order.dto.OrderDto;
import com.bl.order.query.OrderPetAcquisitionQuery;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Bao
 * @since 2022-08-10
 */
public interface IOrderPetAcquisitionService extends IBaseService<OrderPetAcquisition> {
    /**
     *  订单quer
     * @param dto
     */
    void confirm(OrderDto dto);

    /**
     *  分页查询当前登陆人的订单消息
     * @param query
     * @param id
     * @return
     */
    PageList<OrderPetAcquisition> queryPage(OrderPetAcquisitionQuery query, Long id);

    /**
     *  订单取消
     * @param id
     */
    void cancel(Long id);

}
